<table class="table table-striped table-condensed table-hover">
	<thead>
		<tr>
			<th style="width:30px">번호</th>
			<th>이름</th>
			<th style="width:100px;">등록일</th>
		</tr>
	</thead>
	<tbody>
<?php
$cnt = count($rows);
if ($cnt == 0) {
?>
		<tr class="blank">
			<td colspan="3">값이 없습니다.</td>
		</tr>
		
<?php
}
else {
	for ($i = 0; $i < $cnt; $i++) {
?>
		<tr data-href="<?php echo $href?>/<?php echo $kong->id ?>/group/<?php echo urlencode($rows[$i]['idx'])?>">
			<td><?php echo $rows[$i]['n']?></td>
			<td class="align-left"><?php echo $rows[$i]['name']?></td>
			<td><?php echo date("Y.m.d", $rows[$i]['reg_date'])?></td>
		</tr>
<?php
	}
}
?>
	</tbody>
</table>

<div class="pagination pagination-centered"><?php echo $pagination ?></div>
<div class="text-right">
	<div class="btn-group">
		<button class="btn" data-href="<?php echo $href?>/<?php echo $kong->id ?>/group/new">새그룹</button>
	</div>
</div>
